package cn.wolfcode.car.mapper;

import cn.wolfcode.car.domain.Department;
import cn.wolfcode.car.qo.DepartmentQueryObject;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface DepartmentMapper {
    int deleteByPrimaryKey(Long id);

    int insert(Department record);

    Department selectByPrimaryKey(Long id);

    List<Department> selectAll();

    int updateByPrimaryKey(Department record);

//    PageInfo<Department> selectByQo(DepartmentQueryObject qo);

    List<Department> selectForPage(DepartmentQueryObject qo);
}